﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<head>
</head>
<body>
	<!-- 引用头部样式 -->
	<jsp:include page="header.jsp"></jsp:include>
	
	<!-- 轮播图 -->
	<div class="am-slider am-slider-default" data-am-flexslider="{playAfterPaused: 8000}">
		<ul class="am-slides">
			<c:forEach items="${banList }" var="obj">
				<li><img src="${obj.url }" alt="${obj.title }"></li>
			</c:forEach>
		</ul>
	</div>
	<!-- 轮播图end -->
	
	<!-- 新闻列表 -->
	<div>
		<header class="article_list_more_header">
			<div>
				<a>首页</a>&#62;<a>新闻资讯</a>&#62;<a>更多</a>
			</div>
		</header>

		<section class="article-content">
			<ul>
				<c:forEach items="${moreList }" var="obj">
					<li>
						<div class="article-date">
							<strong>${obj.id }</strong>
							<p>${obj.date }</p>
						</div>
						<div class="article-info">
							<a href="NewsServlet?method=toArticleListContent&id=${obj.id }">
								<h3>${obj.title }</h3>
								<p>${obj.content }</p>
							</a>
						</div>
					</li>
				</c:forEach>
			</ul>
		</section>
		<div class="article_list_more_pages">
			<ul>
				<li><a>上一页</a></li>
				<li class="article-current"><a>1</a></li>
				<li><a>2</a></li>
				<li><a>3</a></li>
				<li><a>下一页</a></li>
			</ul>
		</div>
	</div>
	<!-- 新闻列表end -->
	
	<!-- 引用底部样式 -->
	<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>